package com.spark.lola.logistics.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.spark.lola.logistics.entity.LocationInfo;
import com.spark.lola.support.core.vo.SelectMap;
import com.spark.lola.support.mybatis.entity.QueryParam;
import com.spark.lola.support.mybatis.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author: Zhi-peng wang
 * @date: 2020/04/27 17:10
 * 货运地址信息业务接口
 **/
@Transactional
public interface LocationInfoService extends BaseService<LocationInfo> {

    IPage<LocationInfo> findPage(QueryParam<LocationInfo> queryParam);

    List<LocationInfo> findLike(Integer locationType, String key);

    List<SelectMap> selectMap(Integer type,String key);
}
